 function create_table_titles(d){ //Create titles of table
        var titles_string = "<tr>";

            for (var k=0; k<d.length; k++){
            d[k] = d[k].split("_");
            if(language == "en") {
            d[k][0] = (d[k][0]).replace(/ /g,"</br>");
            titles_string += "<td><b>" + (d[k][0]) +"</b></td>";
            }
            if(language == "ru") {
            d[k][1] = d[k][1].replace(/ /g,"</br>");
            titles_string += "<td><b>" + (d[k][1]) +"</b></td>";
            }
            
        }
        
        titles_string +=   "</tr>";
    return (titles_string);
    }

function select_language(lg){
language = lg;
}